const redis = require("redis");
const REDIS_CONFIG = require("../config/redis");

//创建客户端
const redisClient = redis.createClient(REDIS_CONFIG);
redisClient.on("error", (err) => {
    console.log(err);
})

module.exports = redisClient;